<?php
namespace app\agentmobile\controller;
use app\agent\model\Agent;

class MyAgent extends Base {
    public function index() {

        $this->assign('list', Agent::where(array('status' => 1,'uper_id' => session('agentId')))->select());
        return view();
    }

    //代理商详细信息
    public function agentDetail() {

        $this->assign('list', '');
        return view();
    }
}